package com.tree.dao;

import com.tree.entity.Flower;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlowerDao {

    List<Flower> queryAll(@Param("rowIndex") int rowIndex , @Param("rowSize") int rowSize);//分页查询
    Flower query(String flowerName);//通过花名查询
    List<Flower> querySearch(String flowerName);//按名字摸糊查询
}
